package tec;


public final class FabriqueTec{


    private static Caractere CALME = new Calme();
    private static Caractere NERVEUX = new Nerveux();
    private static Caractere PRUDENT = new Prudent();
    private static Caractere POLI = new Poli();
    private static Caractere AGORAPHOBE = new Agoraphobe();
    
    

    private FabriqueTec(){
    }
    
    public static  PassagerAbstrait fairePassagerStandard(String nom, int destination){
	
	Repos p = new Repos(nom,destination, CALME);
	return p;
    }

    public static PassagerAbstrait fairePassagerLunatique(String nom, int destination){
	
	Sportif p = new Sportif(nom, destination, NERVEUX);
	return p;

    }

    public static PassagerAbstrait fairePassagerStresse(String nom, int destination){
	
	Fatigue p = new Fatigue(nom, destination, PRUDENT);
	return p;

    }


    

    public static Transport faireAutobus(int nbPlacesAssises, int nbPlacesDebout){
	Autobus bus = new Autobus(nbPlacesAssises, nbPlacesDebout);
	return bus;

    }
}